using System;
using Phoenix.ActionResults;
using Phoenix.Framework;

namespace Phoenix.Filters.ActionFilters
{
    public class ActionExecutedContext : ControllerContext
    {
        public ActionExecutedContext(ControllerContext controllerContext, Exception exception) 
            : base(controllerContext)
        {
            Exception = exception;
        }

        public Exception Exception { get; private set; }
        public bool ExceptionHandled { get; set; }
        public ActionResult Result { get; set; }
    }
}